package com.yangweiye.communicationonline.service.impl;

import com.yangweiye.communicationonline.mapper.FirstMapper;
import com.yangweiye.communicationonline.service.FirstService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FirstServiceImpl implements FirstService {
    @Autowired
    private FirstMapper firstMapper;

    @Override
    public String sayHello() {
        return firstMapper.first() + "--" + firstMapper.last();
    }
}
